.modal-body
  .form-group
    = f.label :name, 'Full Name', class: 'col-sm-3 control-label'
    .col-sm-7
      = f.text_field :name, class: 'form-control'
  .form-group
    = f.label :email, 'Email Address', class: 'col-sm-3 control-label'
    .col-sm-7
      = f.email_field :email, class: 'form-control'
  .form-group
    = f.label :password, 'Password', class: 'col-sm-3 control-label'
    .col-sm-7
      = f.password_field :password, class: 'form-control'
  .form-group
    = f.label :roles, class: 'col-sm-3 control-label'
    .col-sm-7
      = f.collection_select :roles, YAML::load(SETTING.roles), :to_s, :to_s, { selected: @roles }, { multiple: true, class: 'form-control' }
.modal-footer
  %button.btn.btn-default{:type => 'button', :'data-dismiss' => 'modal'} Close
  = f.button :submit, 'Submit', class: 'btn btn-primary'